<!-- v1.6.6.2 RDPROJECT-28 wcw 2013-10-17 start-->
<!DOCTYPE html>
<html>
<#include "../../head.html">
    <body>
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "../../setting/left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="充值记录">
                        <#include "../banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">

                                <div class="toolbor-module export">
                                    <input type="button" onClick="exportxls()" value="导出报表" class="input-button export-btn"/>
                                </div>

                                <#if param?exists>
                                    <#if param.get("dotime1")?exists><#assign dotime1=param.get("dotime1")></#if>
                                    <#if param.get("dotime2")?exists><#assign dotime2=param.get("dotime2")></#if>
                                    <#if param.get("orderNumber")?exists><#assign orderNumber=param.get("orderNumber")></#if>
                                    <#if param.get("status")?exists><#assign status=param.get("status")></#if>
                                    <#if param.get("account_type")?exists><#assign account_type=param.get("account_type")></#if>
                                    <#if param.get("paymentname")?exists><#assign paymentname=param.get("paymentname")></#if>
                                </#if>
								<div class="toolbor-module search">    
                                    <input type="button" value="搜索"  class="input-button" onClick="sousuo();">
                                </div>
                                <div class="toolbor-module search">
                                    <input type="text" name="orderNumber" id="orderNumber" value="请输入订单号" data-value="请输入订单号" class="search-value">
                                </div>
                              
                                



                                <div class="toolbor-module search">
                                    <div style="height:22px;line-height:22px;float:left;">时间：</div>
                                    <input class="_search-value js-datetime" name="dotime1" id="dotime1" value="${dotime1!}"/>
                                    <div style="height:22px;line-height:22px;float:left;margin:0 8px;"> 到 </div>
                                    <input class="_search-value js-datetime" name="dotime2" value="${dotime2!}" id="dotime2"/>
                                </div>
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                            <td>ID</td>
                                            <td>订单金额</td>
                                            <td>订单交易时间</td>
                                            <td>交易的订单号</td>
                                            <td>订单的状态</td>
                                            <td>勾兑状态</td>
                                        </tr>
                                        <#if list??>
                                        <#list list as item>
                                            <tr class="s">
                                                <td>${item_index+1}</td>
                                                <td >${item.orderAmount!}元</td>
                                                <td>${item.orderDate!}</td>
                                                <td>${item.orderNumber!}</td>
                                                <td><#if item.orderStatus=="1">成功<#else>失败</#if></td>
                                                <td><#if item.gouduiStatus=="1">成功<#else>失败</#if></td>
                                            </tr>
                                            </#list>
                                            </#if>
                                    </table>
                                </form>
								<style>
									.page_num{ width:15px; height:15px; border:1px solid #333; margin-right:5px;display:inline-block;*zoom:1;*display:inlinel;line-height:15px;text-align:center;
												}
								</style>
                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>
                                  <!--  总记录数： ${eorder.resultCount}&nbsp;&nbsp;&nbsp;&nbsp;总页数：${eorder.pageSize}
                                   <div align="right">
                                   <#if countList??>
                                    <#list countList as item>
                                        <a href="ecpssPayOrderlist.html?page=${item_index+1}" class="page_num">${item_index+1}</a>
                                    </#list>
                                    </#if>
                                    </div> -->
                                    <!--  -->
                                    <div class="container">
	                                    <div id="pageitem">
	                                    <#if eorder??&&count??>
											共${eorder.resultCount}条${count}页 当前第<#if page??>${page}<#else>1</#if>页
												&nbsp;<a href="ecpssPayOrderlist.html?page=1">首页</a>
												<#if page lte 1>
												   <span>上一页</span>
												<#else>
												&nbsp;<span><a href="ecpssPayOrderlist.html?page=${page-1}">上一页</a></span> 
												</#if>
												
												<#if page lt count&&page gte 1>
												&nbsp;<a href="ecpssPayOrderlist.html?page=${page+1}">下一页</a>
												<#else>
												&nbsp;<span>下一页</span>
												</#if>
												&nbsp;<a href="ecpssPayOrderlist.html?page=${count}">尾页</a>
											<span class="page_go">转到
											<input type="text" onfocus="this.select()" value="<#if page??>${page}<#else>1</#if>" onkeydown="if (event.keyCode==13){location.href ='ecpssPayOrderlist.html?page='+this.value+''}" size="4" id="page_text">页</span>
											
											 <input type="button" onclick="var pageId;pageId=document.getElementById('page_text').value;location.href ='ecpssPayOrderlist.html?page='+pageId+'';" value="确定" class="btn">
											</#if>
											</div>
									</div>	
                                    <!--  -->
                                    
                                    
                                </div>
                                <!--底部工具栏--}-->

                                <script>
                                    $(function(){
                                    	 
                                    });
                                    var url = 'ecpssPayOrderlist.html?search=true';
                                    var xlsurl = 'ecpssPayOrderlist.html?type=export';

                                    function sousuo(){
                                        var sou = "";
                                        var dotime1 = $("#dotime1").val();
                                        var dotime2 = $("#dotime2").val();
                                        var orderNumber = $("#orderNumber").val();

                                        if (dotime1!=null){
                                            sou += "&dotime1="+dotime1;
                                        }
                                        if (dotime2!=null){
                                            sou += "&dotime2="+dotime2;
                                        }
                                        if (orderNumber!=""&&orderNumber!="请输入订单号"){
                                            sou += "&orderNumber="+orderNumber;
                                        }
                                        if (sou!=""){
                                            location.href=url+sou;
                                        }
                                    }
                                    function exportxls(){
                                        var sou = "";
                                        var dotime1 = $("#dotime1").val();
                                        var dotime2 = $("#dotime2").val();
                                        var orderNumber = $("#orderNumber").val();
                                        if (dotime1!=null){
                                            sou += "&dotime1="+dotime1;
                                        }
                                        if (dotime2!=null){
                                            sou += "&dotime2="+dotime2;
                                        }
                                        if (orderNumber!=""&&orderNumber!="请输入订单号"){
                                            sou += "&orderNumber="+orderNumber;
                                        }
                                        if (sou!=""){
                                            location.href=xlsurl+sou;
                                        }else{
                                            location.href=xlsurl;
                                        }
                                    }
                                </script>
                            </div>

            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>

    </body>
</html>
<#include "../../jsPage.html">
<!-- v1.6.6.2 RDPROJECT-28 wcw 2013-10-17 end-->

